
#include "stdafx.h"
#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable :4996)
#ifndef DATE
#ifdef __DATE__
#define BUILD_DATE __DATE__
#else
#define BUILD_DATE "xx/xx/xx"
#endif
#endif

#ifndef TIME
#ifdef __TIME__
#define BUILD_TIME __TIME__
#else
#define BUILD_TIME "xx:xx:xx"
#endif
#endif

#ifndef BUILD_INFO
#define BUILD_INFO 0
#endif

inline const char* GetBuildInfo()
{
	static char buildInfo[256];	
	sprintf(buildInfo,"#%d, %.20s, %.9s",BUILD_INFO,BUILD_DATE,BUILD_TIME);
	return buildInfo;
}



PLUGINAPI const char* DllGetVersion()
{
#ifdef CUR_DLL_VER
#undef CUR_DLL_VER
#endif

#define CUR_DLL_VER	"1.0.0"

	static char strVersion[256];
	sprintf(strVersion,"%s%s",CUR_DLL_VER,GetBuildInfo());
	return strVersion;
}